package com.ding.pda;

import com.hs.common.api.dto.ResultVo;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author DYF
 * @data 2022-07-26
 * @desc
 */
@FeignClient(value = "pda-service")
public interface PdaFeignClient {

    @PutMapping("/pda/bindPda")
    public ResultVo bindPda(
            @RequestParam ("pdaId")Long pdaId,
            @RequestParam ("patrollerId")Long patrollerId,
            @RequestParam ("status")String status
    );
}

